package com.panda.admin.interfaces.param.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panda.admin.login.entity.SystemParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author tucy123
* @description 针对表【system_param(系统参数表)】的数据库操作Mapper
* @createDate 2023-07-10 15:26:06
* @Entity com.panda.admin.interfaces.param.SystemParam
*/
@Mapper
public interface SystemParamMapper extends BaseMapper<SystemParam> {

    @Select("select count(*) from system_param where common_status = 0 or common_status = 1")
    Integer paramCount();
}




